<!DOCTYPE html>
<html lang="en" >

  <head>
    <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<meta property="og:title" content="Posts" />
<meta property="og:description" content="我建立的一个博客，记录我学习历程." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://yinxx.github.io/posts/" />
<meta property="og:updated_time" content="2020-08-03T00:00:00+00:00" />

<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Posts"/>
<meta name="twitter:description" content="我建立的一个博客，记录我学习历程."/>
<meta name="generator" content="Hugo 0.74.2" />


    
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Blog",
  "headline": "我建立的第一个网站",
  "url" : "https://yinxx.github.io/posts/",
  "author": {
    "@type": "Person",
    "name": "尹向旭"
  },
  "dateModified": "2020-08-03T00:00:00+00:00",
  "keywords": ,
  "description":"我建立的一个博客，记录我学习历程."
}
</script>


    <link rel="canonical" href="https://yinxx.github.io/posts/">

    <title>我建立的第一个网站</title>

    
    <!-- combined, minified CSS -->
    
    <link href="https://yinxx.github.io/css/style.e408605af1290e616960aef7be39db8d54400ce717e8e4f12f733d8fb56d62ee.css" rel="stylesheet" integrity="sha256-5AhgWvEpDmFpYK73vjnbjVRADOcX6OTxL3M9j7VtYu4=" crossorigin="anonymous">
    

    <!-- minified Font Awesome for SVG icons -->
    
    <script defer src="https://yinxx.github.io/js/fontawesome.min.16a86fa8fbdecc0f27392feecb61ee0803a507820bded359407103a49126b52c.js" integrity="sha256-FqhvqPvezA8nOS/uy2HuCAOlB4IL3tNZQHEDpJEmtSw=" crossorigin="anonymous"></script>

    <!-- RSS 2.0 feed -->
    <link rel="alternate" type="application/rss+xml" href="https://yinxx.github.io/posts/index.xml" title="我建立的第一个网站" />
    

    

  </head>

  <body>

    
    <div class="blog-masthead">
      <div class="container">
        <nav class="nav blog-nav">
          <a class="nav-link " href="https://yinxx.github.io/">Home</a>
        </nav>
      </div>
    </div>
    

    
    
    <header class="blog-header">
      <div class="container">
        <h1 class="blog-title" dir="auto"><a href="https://yinxx.github.io/" rel="home">我建立的第一个网站</a></h1>
        <p class="lead blog-description" dir="auto">我建立的一个博客，记录我学习历程.</p>
      </div>
    </header>
    
    

    
    <div class="container">
      <div class="row">
        <div class="col-sm-8 blog-main">

          







<article class="blog-post">
  <header>
    <h2 class="blog-post-title" dir="auto"><a href="https://yinxx.github.io/2020/08/%E5%BF%85%E4%BF%AE%E4%B8%891.1-%E7%BB%86%E8%83%9E%E7%94%9F%E6%B4%BB%E7%9A%84%E7%8E%AF%E5%A2%83/">必修三1.1 细胞生活的环境</a></h2>
    <p class="blog-post-meta"><time datetime="2020-08-03T00:00:00Z">Mon Aug 03, 2020</time> by 尹向旭</p>
  </header>
  <h2 id="细胞生活在哪里">细胞生活在哪里：</h2>
<p><img src="https://ftp.bmp.ovh/imgs/2020/08/5764998cbf4ecfb3.png" alt="imgurl图床网站"></p>
  <a href='https://yinxx.github.io/2020/08/%E5%BF%85%E4%BF%AE%E4%B8%891.1-%E7%BB%86%E8%83%9E%E7%94%9F%E6%B4%BB%E7%9A%84%E7%8E%AF%E5%A2%83/'>Read more →</a>
</article> 






<article class="blog-post">
  <header>
    <h2 class="blog-post-title" dir="auto"><a href="https://yinxx.github.io/2014/09/creating-a-new-theme/">Creating a New Theme</a></h2>
    <p class="blog-post-meta"><time datetime="2014-09-28T00:00:00Z">Sun Sep 28, 2014</time> by Michael Henderson</p>
  </header>
  Introduction This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I&rsquo;ll explain how Hugo uses templates and how you can organize your templates to create a theme.
  <a href='https://yinxx.github.io/2014/09/creating-a-new-theme/'>Read more →</a>
</article> 






<article class="blog-post">
  <header>
    <h2 class="blog-post-title" dir="auto"><a href="https://yinxx.github.io/2014/03/first/">first</a></h2>
    <p class="blog-post-meta"><time datetime="2014-03-10T00:00:00Z">Mon Mar 10, 2014</time> by 尹向旭</p>
  </header>
  <h2 id="在personal-web的命令提示符中依次输入">在personal-web的命令提示符中依次输入：</h2>
<ul>
<li>hugo server &ndash;watch &ndash;theme=personal-web</li>
<li>myblog  &raquo;hugo server -t  personal-web  &ndash;buildDrafts</li>
<li>myblog  &raquo;hugo   &ndash;theme=personal-web  &ndash;baseUrl=&quot;https://yinxx.github.io&rdquo;  &ndash;buildDrafts</li>
</ul>
<h2 id="public根目录下依次输入">public根目录下依次输入：</h2>
<ul>
<li>
<p>git init  将public文件夹转换为仓库</p>
</li>
<li>
<p>git add . 选择所有的内容</p>
</li>
<li>
<p>git commit -m &ldquo;first commit&rdquo;   提交至个人站点中</p>
</li>
<li>
<p>第一条：git init</p>
</li>
<li>
<p>第二条：git add . （切记：add后面加一个空格再加一个“.”）</p>
</li>
<li>
<p>第三条：git commit -m “我的hugo博客”</p>
</li>
<li>
<p>将本地public内容与站点进行关联,后面的地址是:GitHub官网+你的账户名+你新建的站点名+.git</p>
</li>
<li>
<p>第四条：git remote add origin <a href="https://github.com/yinxx/yinxx.github.io.git">https://github.com/yinxx/yinxx.github.io.git</a></p>
</li>
<li>
<p>将public刷新到站点中 地址与上面相同.第一次会叫你输入你GitHub的账户密码.密码是暗文照常输入就行</p>
</li>
<li>
<p>第五条：git push -u origin master
<img src="https://ftp.bmp.ovh/imgs/2020/08/06f4ec2dd0842d02.jpg" alt="imgurl图床网站"></p>
</li>
</ul>
  <a href='https://yinxx.github.io/2014/03/first/'>Read more →</a>
</article> 








        </div> <!-- /.blog-main -->

        <aside class="col-sm-3 ml-auto blog-sidebar">
  
  <section class="sidebar-module sidebar-module-inset">
    <h4>About</h4>
    <p dir="auto">欢迎访问我建立的站点 <a href="http://v4-alpha.getbootstrap.com/examples/blog/">我的网站</a>.</p>
  </section>
  

  
        <section class="sidebar-module">
    <h4>Recent Posts</h4>
    <ol class="list-unstyled">


<li><a href="/2020/08/%E5%BF%85%E4%BF%AE%E4%B8%891.1-%E7%BB%86%E8%83%9E%E7%94%9F%E6%B4%BB%E7%9A%84%E7%8E%AF%E5%A2%83/">必修三1.1 细胞生活的环境</a></li>

<li><a href="/2014/09/creating-a-new-theme/">Creating a New Theme</a></li>

<li><a href="/2014/03/first/">first</a></li>

    </ol>
  </section>

  

  
  <section class="sidebar-module">
    <h4>Links</h4>
    <ol class="list-unstyled">
      
      <li><a href="https://example.com">这是config里面的menu.sidebar的link 1</a></li>
      
      <li><a href="https://example.org">这是config里面的menu.sidebar的Link 2</a></li>
      
    </ol>
  </section>
  
</aside>


      </div> <!-- /.row -->
    </div> <!-- /.container -->
    

    
    <footer class="blog-footer">
      <p dir="auto">
      
      Blog template created by <a href="https://twitter.com/mdo">@mdo</a>, ported to Hugo by <a href='https://twitter.com/mralanorth'>@mralanorth</a>.
      
      </p>
      <p>
      <a href="#">Back to top</a>
      </p>
    </footer>
    

  </body>

</html>
